079204475f20e73a674bddac7aa5601c46d9b4d2,butterknife-compiler/src/main/java/butterknife/compiler/BindingClass.java,BindingClass,generateBindViewBody,#MethodSpec.Builder#,339

Before Change


          .add("$T.$N(target", parentBinding.binderClassName, BIND_TO_TARGET);
      if (parentBinding.bindNeedsView()) {
        invoke.add(", source");
      } else if (bindNeedsView()) {
        invoke.add(", source.getContext()"); // We have a view but the parent only needs context.
      } else {
        invoke.add(", context");
      }

After Change


    }

    if (hasResourceBindings()) {
      boolean hasView = bindNeedsView();
      boolean needsSourceToContext = bindNeedsTheme() && hasView;
      if (needsSourceToContext) {
        result.addStatement("$T context = source.getContext()", CONTEXT);